<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Horizontal Slider with two thumbs</title>

<style type="text/css">
/*margin and padding on body element
  can introduce errors in determining
  element position and are not recommended;
  we turn them off as a foundation for YUI
  CSS treatments. */
body {
	margin:0;
	padding:0;
}

#demo_bg {
	/*background: #fff url(../img/bg-slider.png) repeat-x 0 0; */ 
} 
</style> 

<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.6.0/build/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.6.0/build/slider/assets/skins/sam/slider.css" />
<script type="text/javascript" src="http://yui.yahooapis.com/2.6.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.6.0/build/animation/animation-min.js"></script>

<script type="text/javascript" src="http://yui.yahooapis.com/2.6.0/build/dragdrop/dragdrop-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.6.0/build/slider/slider-min.js"></script>
<script src="http://yui.yahooapis.com/2.6.0/build/element/element-beta-min.js"></script> 


<script type="text/javascript" src="slider.js"></script>

<!--there is no custom header content for this example-->

</head>

<body class=" yui-skin-sam">



<!--BEGIN SOURCE CODE FOR EXAMPLE =============================== -->
klhk
<div id="parent">

</div>
gggggggggggg

<div id="test">

</div>
<script type="text/javascript">

	// Slider set up is done when the DOM is ready
    YAHOO.util.Event.onDOMReady(start);

	
function start() {
	var pxWidth = 1000;
	var bandSlider = new mySlider("band", "parent");
	bandSlider.setHtml();
	bandSlider.setRange(pxWidth);
	bandSlider.setBgImg("img/bg-slider.png", pxWidth+"px")
	bandSlider.setSeqStart(100000000);
	bandSlider.setSeqStop(500000000);
	bandSlider.setSlider();
}	
	


</script>

<!--END SOURCE CODE FOR EXAMPLE =============================== -->




</body>
</html>